#include <iostream>

using namespace std;

int main() {
    int L, N, M;
    cin >> L >> N >> M;
    int *cy = new int[N];
    for (int i = 0; i < N; ++i) {
        cin >> cy[i];
    }

}